<!DOCTYPE >
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>newslist</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/right.css">
<script type="text/javascript" src="__PUBLIC__/home/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/home/js/system.js"></script>
<script type="text/javascript" src="__PUBLIC__/home/js/admin.js"></script>
</head>
<body>
	<div class="basic bor">
		<div class="title fl">当前位置：应用管理 > 应用列表</div>
		<div class="basic_r fr"><a href="{:U('Index/setting')}">基本信息</a></div>
	</div>
<!-- 文章分类列表 -->
<div class="catelist">
    <div class="lists listsov">
    <dd>应用列表</dd>
        <ul style="left:0">
        <volist name="listss" id="li">
            <li><a href="{:U('news/index',array(id=>$li[id]))}">{$li.name}</a></li>
        </volist> 
        </ul>
    <div class="button">
        <ol>
            <li class="fl" onclick="next()"><</li>
            <li class="fr" onclick="prev()">></li>
        </ol>

    </div>
    </div>

</div>
<!-- /文章分类列表 -->

<table border="1"  class="table table-hover text-center" id='list'>
  <tr class="trcolor">
    <td></td>
    <td>应用名称</td>
	  <td>类型</td>
    <td>创建时间</td>
    <td colspan="3">操作</td>
 
  </tr>

<!-- ============================================================= -->
<volist name="list" id="li">
  <tr>
    <td><input class="orde" onchange='onid("{$li.id}","sort","store_news")' sort_id="{$li.id}" type="text" name="sort" value="{$li.sort}"></td>
    <td >
    <input type="text" onchange='onid("{$li.id}","name","wx_store_application")' name_id="{$li.id}"  name="title" value="{$li.name}"></td> 
    <td class="color12"> 
    <if condition="$li.type eq 1"> 应用 
    <elseif condition="$li.type eq 2" /> H5 
    <else />游戏
    </if> </td>
    <td><?php echo date('Y-m-d H:i:s',$li['ctime']) ?></td>
    <td class="color444 textleft_lover"> 
    <span class="addname"><a href="{:U('Application/editApp',array('id'=>$li[id]))}">编辑</a></span>|
    <span class="addname"><a href="{:U('News/newsadd',array('id'=>$li[id]))}">查看参与者</a></span>|
     <if condition="$li.type eq 1"> 
     <span class="addname"><a href="{:U('Application/itemlist',array('id'=>$li[id]))}">查看选项</a></span>
    <elseif condition="$li.type eq 2" />  
    
    <else />
    <span class="addname"><a href="{:U('Application/itemlist',array('id'=>$li[id]))}">编辑</a></span>
    </if>

    | <span class="addname">
    <a href="{:U('News/delnews',array('id'=>$li[id]))}"  onclick="return confirm('确定将此记录删除?')" >删除</a></span></td>
    </td>
  </tr>
</volist>

<!-- ============================================================= -->

</table>
<div class="pages">
   <span class="allxz fl"><input class="checkbox bor" id="all"  type="checkbox" value="3" /></span> 
   <div class="deladd fl"><a href="javascript:;" class="alllist" >全选</a><a href="javascript:;" class="color08bcbb" onclick="dellists('store_news')"  >删除所选</a></div><!-- system.js -->
   <div class="dispage fl cated">
                <span>批量移动到</span>
                <div class="select">
                    <dd>新闻中心</dd>
                    <i class="bannerup" nun_deg="1" onclick="bannerlist(1)">></i>
                    <ul num_id="1">
                        <volist name="cates" id="li">
                        <li><a href="javascript:;" onclick="upclassname('{$li.id}','store_news')" >{$li.html}{$li.name} </a></li>
                        </volist>
                        
                    </ul>
                </div>
            </div>
    <div class="page_s fr">{$page}</div>
</div>

<!-- 提示 -->
<p class="ts"><span class="colorf00">*</span><span class="ts_text"> 如果要修排序请直接点击文字修改。</span></p>
</body>
</html>